<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>页面</title>
	<%
		String ifsuccess = (String)request.getAttribute("ifsuccess");
        String optFlag = (String)request.getAttribute("optFlag");
		//out.print("<script>alert('"+ifsuccess+"');window.close();parent.window.close;</script>");
	%>
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
   <script language="javascript">
     alert('<%=ifsuccess%>');
     if('<%=optFlag%>'=='mod') {
         parent.closeWindow();
     }

    // parent.closeTabPage();
   </script> 
  </body>
</html>
